<div class="consults form">
<?php echo $this->Form->create('Consult');?>
	<fieldset>
 		<legend><?php __('Nueva Consulta'); ?></legend>
	<?php
//		echo $this->Form->input('date');
	echo $this->Form->input('person_id',array( 'type' => 'hidden', 'value' => $id_paciente));
	echo $this->Form->input('doctor_id');
	echo $this->Form->input('motivo');

	echo $this->Html->div('titulos_items_consulta', 'Productos', array('id' => 'div_titulo_consulta','onclick' => '$(div_productos_activo).toggle();', 'style' => 'cursor:pointer'));
	echo $this->Form->input('Product',array( 'label' => '', 'div' => array('id' => 'div_productos_activo')));

?>
	</fieldset>
	<table cellpadding="0" cellspacing="0">
	<tr>
		<td><?php echo $this->Form->end(__('Cargar', true));?></td>
		<td><br><br><?php echo $this->Html->link("Cancelar","/people/view/".$id_paciente."/1",array('escape' => false, 'class' => 'link_cancelar') );?></td>
	</tr>
	</table>
</div>